package com.example.houduan.Service;

import com.example.houduan.Pojo.RequiredMaterial;
import com.example.houduan.Utils.PageModel;

import java.util.List;

public interface RequiredMaterialService {

    PageModel getRequiredMaterialPage(int num,int size);

    int deleteRequiredMaterial(Integer meterial_id);

    int updateRequiredMaterial(RequiredMaterial requiredMaterial);

    int addRequiredMaterial(RequiredMaterial requiredMaterial);
    
    List<RequiredMaterial> getRequiredMaterialByConditions(Integer meterial_id, String title, String policy_title);
} 